package com.jh.user.business;

import cn.jh.common.exception.ServiceException;
import com.jh.user.pojo.Area;
import com.jh.user.pojo.BankBranch;
import com.jh.user.pojo.City;
import com.jh.user.pojo.Province;

import java.util.List;
import java.util.Map;

public interface BankBranchBusiness {
	public List<BankBranch> findAllBranch(String province,String city,String bankName);

	public List<Province> findProvince();

	public List<City> findCity(String provinceid);


	public List<City> findAllCity();

	public List<Area> findArea(String cityid);

	//通过银行名称查询银行编号
	public BankBranch getBankCodeByBankName(String bankName);

	//返回String 的集合
    public List<String> findAllBranch2(String province, String city, String topName);

    List<BankBranch> queryBankList(String bankLocation, String province, String city);

    /**
	 * 处理银行支行信息
	 *
	 * @param bankNoList 联行号集合
	 * @param cityid 城市id
	 * @throws ServiceException
	 */
	void updateBankBranch(List<String> bankNoList, String cityid) throws ServiceException;

    List<Map<String, Object>> getBankNameList();

	List<Map<String, Object>> getBankBranchBy(String provinceId, String cityId, String topName);

	List<Area> queryAreaListByCityId(String cityId) throws ServiceException;

    List<String> findAllBranch3(String provinceId, String cityId, String topName);
}
